﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ExpLib.Service.Schedules
{
    public class IntervalSchedule:ISchedule
    {

        private DateTime m_NextRunTime = DateTime.MaxValue;

        public bool CanRun()
        {
            throw new NotImplementedException();
        }

        public int Interval
        {
            get;
            set;
        }

        public ITask Task
        {
            get;
            set;
        }

        public DateTime BeginTime
        {
            get;
            set;
        }

        public DateTime BeginDate
        {
            get;
            set;
        }

        private void UpdateRunTime()
        { 
        
        }


    }

    public enum Period
    {
        Minutes,
        Hours,
        Day
    }
}
